package com.pai4j.domain.community.vo.request;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author: CYM-pai
 * @date: 2025/10/31 20:32
 **/
@Data
public class CCNavRequestVO {

    /***
     * 导航ID
     */
    private Long id;

    /***
     * 栏目ID
     */
    @NotNull(message = "未关联栏目")
    private Long pathId;

    /***
     * 导航ICON
     */
    private String icon;

    /***
     * 导航名称
     */
    @NotNull
    @Length(min = 1, max = 20, message = "导航名1~20个字")
    private String name;

    /***
     * url
     */
    @NotNull
    private String url;

    /***
     * 导航描述
     */
    private String summary;

    /***
     * 评分
     */
    private Integer score;

}
